import os

from django.apps import apps
from django.conf import settings

if not settings.configured:
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "backend.django_res.settings")
    apps.populate(['backend.django_res.orm'])
